import Vue from 'vue'
import Vuex from 'vuex'
import state from './state'
import actions from './actions'
import getters from './getters'
import mutations from './mutations'
import index from './index'
// 声明使用vuex
Vue.use(Vuex)
export default new Vuex.Store({
  getters,
  actions,
  state,
  index,
  mutations
})
